package dao;

import domain.Notice;

import java.sql.SQLException;
import java.util.List;

public interface NoticeDao {

    List<Notice> findAllNotice() throws SQLException;

    int addNotice(Notice notice) throws SQLException;

    Notice editNotice(String id) throws SQLException;

    int updateNoticeByIde(Notice notice) throws SQLException;

    boolean removeNotice(Notice notice) throws SQLException;

    Notice getNewNotice() throws SQLException;
}
